∑ Kadane's Algorithm

Drop Value
Result (Max)
0
Input Array A (Green: Max Subarray | Orange: Current)
DP / Prefix Array